package com.test.ps;

public class Producter {

	public static void main(String[] args) {

		for(int i = 0; i < 10000; i++) {
			final int v = i;
			try {
				Thread.sleep(1000);
			} catch (InterruptedException e) {
				e.printStackTrace();
			}
			new Thread(() -> {
				DataBean.addList(v);
			}).start();;
		}

	}

}
